package com.yami.shop.bean.param;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import java.util.List;

/**
 * @author Yami
 */
@Data
public class UserUpdateParam {

    @Schema(description = "正数代表增加，负数代表减少，只能输入整数，根据修改后的成长值重新计算会员等级")
    private Integer growthValue;

    @Schema(description = "修改成长值，是否赠送礼物 0不赠送，1赠送")
    private Integer isSendReward;

    @Schema(description = "正数代表增加，负数代表减少，只能输入整数，修改会员积分")
    private Long scoreValue;

    @Schema(description = "用户id列表")
    private List<String> userIds;

    @Schema(description = "关联业务id")
    private String bizId;

    @Schema(description = "成长值来源")
    private Integer growthSource;

    @Schema(description = "积分来源")
    private Integer scopeSource;

    @Schema(description = "标签id列表")
    private List<Long> tagList;

    @Schema(description = "修改余额 正数代表增加，负数代表减少，只能输入数字，最多两位小数")
    private Double balanceValue;

    @Schema(description = "发放优惠券列表")
    private List<SendUserCouponsParam> coupons;

    @Schema(description = "空投的商品列表")
    private List<SendUserDropsParam> drops;

    @Schema(description = "空投业务类型 1：店铺人工空投 2：任务空投 3:权益空投99:划转空投")
    private Integer businessType;

    @Schema(description = "空投业务Id")
    private Long airdropBusinessId;

    @Schema(description = "空投证书权益中权益关联的主商品ID --- 仅用与空投证书NFT时替换证书中数据")
    private Long mainProdId;

}
